<?php
$solo = FALSE;
if ( count(get_included_files())===1 ){
	$solo = TRUE;
	require_once('../bpc_load.php');
}

if ( isset($_GET['id']) )
	$id = $_GET['id'];
else
	$id = 1;
	
if ( isset($_GET['source']) )
	$source = $_GET['source'];
else
	$source = 1;
	
if ( isset($_GET['table']) )
	$table = $_GET['table'];
else
	$table = 1;

$navi = navisql($source, $table, $id);

if ( $solo ){
	echo $navi->InnerCode(0);
}
?>
